<!-- 低碳产业首页 -->
@include('user.head')
<div class="row relative_pos ad_row" style="height:400px;">
	<div class="ad_box abs_pos col-xs-12 full_height">
	</div>
	<div class="ad_pager abs_pos" adTotal="" adSpeed="1000" delay="4000" adIndex="0">
		<ul total="">

		</ul>
	</div>
</div>
<div class="row week proScroll" style="height:110px;" >
	<div class="proWrapper">
		<div class="row" style="padding-left:20px;padding-right:20px">
			<div class="col-xs-12 ">
				<a href="<%url('static?k=cdm')%>">
					<div class="hp-number-bj arrange inHe" style="border-right:none;width:120px;">
						<img class="proPic" src="<%url('user/img/cdm.png')%>" alt="" >
						<span class="fl no_padding">CDM项目</span>
						<span class="fl no_padding">审定与核查</span>
					</div>
				</a>
				<a href="<%url('static?k=ccer')%>">
					<div class="hp-number-bj inHe arrange" style="width:120px">
						<img class="proPic" src="<%url('user/img/ccer.png')%>" alt="">
						<span class="fl no_padding">CCER项目</span>
						<span class="fl no_padding">审定与核查</span>
					</div>
				</a>
				<a href="<%url('static?k=save')%>">
					<div class="hp-number-bj arrange inHe" style="width:170px">
						<img class="proPic" src="<%url('user/img/save.png')%>" alt="" >
						<span class="fl no_padding">节能量审核</span>
						<span class="fl no_padding">能源审计/节能规划</span>
					</div>
				</a>
				<a href="<%url('static?k=paicha')%>">
					<div class="hp-number-bj inHe arrange" style="width:140px">
						<img class="proPic" src="<%url('user/img/carbon.png')%>" alt="" >
						<span class="fl indusHe_specil no_padding">碳排查/碳核查</span>
					</div>
				</a>
				<a href="<%url('static?k=iso')%>">
					<div class="hp-number-bj arrange" style="width:151px;">
						<img class="proPic" src="<%url('user/img/iso.png')%>" alt="" >
						<span class="fl no_padding">ISO50001认证</span>
						<span class="fl no_padding">ISO14064认证</span>
					</div>
				</a>
			</div>
		</div>
	</div>
</div>
<div class="wrapper foot-xbj">
	<div class="row foot-xbj industry_underline hp-bianju">
		<div class="col-xs-12">
			<div class="col-xs-3 project_dao pro_bgc" href="industry/project">
				<div class="col-xs-12 earnings_size bianju">
					<div class="col-xs-9 text-center"><b>项 目</b></div>
					<div class="col-xs-3 right_size no_padding">
						<div class="col-xs-12 text-center no_padding_right"><i class="fa fa-circle-thin"><i class="fa fa-ellipsis-h more_icon"></i></i></div>
						<div class="col-xs-12 industry_more no_padding_right text-right">更多</div>
					</div>
				</div>
				<div class="col-xs-12">
					在线项目<%$count%>个<br>
					投资金额<%$total%>万元
				</div>
				<div class="col-xs-12 picture_location">
					<img src="<%url('user/img/xiangmu.png')%>" height="220" width="93" alt="" />
				</div>
			</div>
			<div class="col-xs-9">
				<div class="col-xs-12 foot-xbj">
					<!--<div class="fr"><a href="industry/project">我要投资></a></div>-->
				</div>
				@foreach ($project as $value)
				<div class="col-xs-4 no_padding">
					<div class="col-xs-7 project_title titleMh"><%truncateText($value["name"], 10)%></div>
					<div class="col-xs-5 no_padding_left titleMh" style="margin-top:3px;">
						@if (!$value["is_financing"])
							@if ($value["state"] == 0)
								<span class="label label-danger pull_right">正在招标中</span>
							@elseif($value["state"] == 1)
								<span class="label label-warning pull_right">已确认执行方</span>
							@elseif($value["state"] == 2)
								<span class="label label-success pull_right">正在进行中</span>
							@elseif($value["state"] == 3)
								<span class="label label-primary pull_right">项目已完成</span>
							@endif
						@endif
					</div>
					<div class="col-xs-12 project_border">
						<div class="row" style="padding-top:20px;">
							<div class="col-xs-7">
								<div class="col-xs-12 no_padding earnings_color"><span class="earnings_size"><%$value['investment_scale']%></span>万元</div>
								<div class="col-xs-12 no_padding_left">投资规模</div>
							</div>
							<div class="col-xs-5 no_padding" style="margin-top:7px">
								<div class="col-xs-12 no_padding_left text-right"><span class="earnings_size_day">
								<%truncateText($value['investment_type']["name"], 3)%></span></div>
								<div class="col-xs-12 text-right">项目模式</div>
							</div>
						</div>
						<div class="row bianju invest">
							<div class="col-xs-12 no_padding">
								<span class="fl valMh">用能单位</span>
								<span class="fr valMh" style="color:#333;"><%$value["userData"]["company_name"]%></span>
							</div>
							<div class="col-xs-12 no_padding">
								<span class="fl">节能率</span>
								<span class="fr" style="color:#333;"><%$value["efficiency"]%></span>
							</div>
						</div>
						<div class="row text-center" style="margin-top:20px;">
							<a href="<% url('industry/project/detail?pid=') %><% $value['id'] %>">
								<button class="btn btn-default">查看详情</button>
							</a>
						</div>
					</div>
				</div>
				@endforeach
			</div>
		</div>
	</div>
	<div class="row foot-xbj industry_underline hp-bianju">
		<div class="col-xs-12">
			<div class="col-xs-3 project_dao tech_bgc" href="industry/tech">
				<div class="col-xs-12 earnings_size bianju">
					<div class="col-xs-9 text-center"><b>技 术</b></div>
					<div class="col-xs-3 right_size no_padding">
						<div class="col-xs-12 text-center no_padding_right"><i class="fa fa-circle-thin"><i class="fa fa-ellipsis-h more_icon"></i></i></div>
						<div class="col-xs-12 industry_more no_padding_right text-right">更多</div>
					</div>
				</div>
				<div class="col-xs-12">
					已发布技术<%$techCount%>个
				</div>
				<div class="col-xs-12 picture_location">
					<img src="<%url('user/img/jishu.png')%>" height="220" width="93" alt="" />
				</div>
			</div>
			<div class="col-xs-9">
				<div class="col-xs-12 foot-xbj">
					<div class="fr"></div>
				</div>
				@foreach($tech as $value)
				<div class="col-xs-4 no_padding">
					<div class="col-xs-12 project_title foot-xbj"><%truncateText($value['tech_name'], 8)%></div>
					<div class="col-xs-12 project_border">
						<div class="row foot-xbj">
							<div class="col-xs-7">
								<div class="col-xs-12 earnings_color"><span class="earnings_size"><%$value["score"]%></span>.0</div>
								<div class="col-xs-12">技术评价</div>
							</div>
							<div class="col-xs-5 no_padding_both" style="margin-top:7px">
								<div class="col-xs-12 text-right no_padding"><span class="earnings_size_day">
								<%truncateText($value["developer"], 3)%>
								</span></div>
								<div class="col-xs-12 no_padding text-right">开发者</div>
							</div>
						</div>
						<div class="row bianju invest">
							<div class="col-xs-12 no_padding">
								技术优势
							</div>
							<div class="col-xs-12 no_padding" style="color:#333;">
								<%truncateText($value["advantage_des"], 15)%>
							</div>
							<div class="col-xs-12 no_padding">
								应用领域
							</div>
							<div class="col-xs-12 no_padding" style="color:#333;">
								@if(isset($value["tech_domain"]))
									@if(isset($value["tech_domain"]["domain"]["parent"]))
										<%$value["tech_domain"]["domain"]["parent"]["cate_name"]%> <%$value["tech_domain"]["domain"]["cate_name"]%>
									@else
										<%$value["tech_domain"]["domain"]["cate_name"]%>
									@endif
								@else
									无
								@endif
							</div>
						</div>
						<div class="row text-center" style="padding-top:20px;">
							<a href="<% url('industry/tech/detail?tid=') %><% $value['id'] %>">
								<button class="btn btn-default">查看详情</button>
							</a>
						</div>
					</div>
				</div>
				@endforeach
			</div>
		</div>
	</div>
	<div class="row foot-xbj industry_underline hp-bianju">
		<div class="col-xs-12">
			<div class="col-xs-3 project_dao product_bgc" href="industry/device">
				<div class="col-xs-12 earnings_size bianju">
					<div class="col-xs-9 text-center">
						<b>设 备</b>
					</div>
					<div class="col-xs-3 right_size no_padding">
						<div class="col-xs-12 text-center no_padding_right"><i class="fa fa-circle-thin"><i class="fa fa-ellipsis-h more_icon"></i></i></div>
						<div class="col-xs-12 industry_more no_padding_right text-right">更多</div>
					</div>
				</div>
				<div class="col-xs-12">
					已发布设备<%$deviceCount%>个
				</div>
				<div class="col-xs-12 picture_location">
					<img src="<%url('user/img/shebei.png')%>" height="220" width="93" alt="" />
				</div>
			</div>
			@foreach ($device as $value)
			<div class="col-xs-3 no_padding">
				<div class="col-xs-12 project_title foot-xbj"><%$value["name"]%></div>
				<div class="col-xs-12 project_border">
					<div class="row foot-xbj no_margin">
						<img src="<%url('images')%>/<%$value["uid"]%>/device/<%$value["image"]%>"  height="220" width="220" alt="">
					</div>
					<div class="row" style="margin-top:10px;">
						<div class="col-xs-12">
							应用领域:
						</div>
						<div class="col-xs-12" style="color:#333;">
							@if($value["device_domain"])
								@if($value["device_domain"]["domain"]["parent"])
								<%$value["device_domain"]["domain"]["parent"]["cate_name"]%> <%$value["device_domain"]["domain"]["cate_name"]%>
								@else
								<%$value["device_domain"]["domain"]["cate_name"]%>
								@endif
							@endif
						</div>
					</div>
					<div class="row" style="margin-top:10px;">
						<div class="col-xs-6 no_padding_right">
							<div class="col-xs-12 no_padding_both">
								发布机构:
							</div>
							<div class="col-xs-12 no_padding_both" style="color:#333;margin-bottom:10px;">
								<%truncateText($value["userData"]["company_name"], 8)%>
							</div>
							<div class="col-xs-12 no_padding_both">
								节能率:
								<span style="color:#333;">
									@if(isset($value["efficiency"]))
									<%$value["efficiency"]%>
									@endif
								</span>
							</div>
						</div>
						<div class="col-xs-6 text-right" style="padding-top:18px;">
							<a href="<% url('industry/device/detail?did=') %><% $value['id'] %>">
								<button class="btn btn-default">查看详情</button>
							</a>
						</div>
					</div>
				</div>
			</div>
			@endforeach
		</div>
	</div>
	<div class="row foot-xbj hp-bianju">
		<div class="col-xs-12">
			<div class="col-xs-3 project_dao dev_bgc" href="industry/group">
				<div class="col-xs-12 earnings_size bianju">
					<div class="col-xs-9 text-center"><b>机 构</b></div>
					<div class="col-xs-3 right_size no_padding">
						<div class="col-xs-12 text-center no_padding_right"><i class="fa fa-circle-thin"><i class="fa fa-ellipsis-h more_icon"></i></i></div>
						<div class="col-xs-12 industry_more no_padding_right text-right">更多</div>
					</div>
				</div>
				<div class="col-xs-12">
					已合作机构<%$userCount%>家
				</div>
				<div class="col-xs-12 picture_location">
					<img src="<%url('user/img/jiye.png')%>" height="220" width="93" alt="" />
				</div>
			</div>
			<div class="col-xs-9" style="font-size:13px">
				@foreach ($users as $user)
				<div class="col-xs-4 no_padding project_border">
					<div class="col-xs-12 institution_title titleMh">
						<%$user["userData"]["company_name"]%>
					</div>
					<div class="col-xs-12">
						<img src="<%url('images')%>/<%$user["userData"]["uid"]%>/others/<%$user["userData"]["logo"]%>" height="210" width="210" alt="" />
					</div>
					<div class="col-xs-12 foot-xbj valHe" style="color:#333;">
						<%truncateText($user["userData"]["description"], 15)%>
					</div>
					<div class="bianju">
						<div class="col-xs-12" style="padding-bottom:10px;">
							<div class="col-xs-12 no_padding_both">领域:</div>
							<div class="col-xs-12 no_padding_both" style="color:#333;">

							</div>
						</div>
					</div>
					<div class="bianju">
						<div class="col-xs-12">
							<div class="col-xs-6 no_padding_left">
								<div class="col-xs-12 no_padding_both">机构类型:</div>
								<div class="col-xs-12 no_padding_both" style="color:#333;">
									<%$user["user_role"]["role_name"]%>
								</div>
							</div>
							<div class="col-xs-6 no_padding_both text-right">
								<a href="<%url('industry/group/detail?gid=')%><%$user["userData"]['uid']%>">
									<button class="btn btn-default">查看详情</button>
								</a>
							</div>
						</div>
					</div>
				</div>
				@endforeach
			</div>
		</div>
	</div>
</div>
@include('user.footer')
@include('user.common')
<script type="text/html" id="bannerFirstTemp">
{%each list as value index}
		<span class="ad abs_pos col-xs-12" style="left:0%;top:{%index*100}%;background:url(<%url('images/ad/{%value.image}')%>) center center;">
			<a href="#"></a>
		</span>
{%/each}
</script>

<script type="text/html" id="circleTemp">
{%each list as value index}
	<li {%if index == 0}class="page_circle current"{%/if}{%if index != 0}class="page_circle"{%/if} ad-index="{%index}">
		{%index+1}
	</li>
{%/each}
</script>

<script type="text/javascript">
$(".project_dao").on("mouseover", function(){
	$(this).addClass("project_hover");
});
$(".project_dao").on("mouseout", function(){
	$(this).removeClass("project_hover");
});
$(".project_dao").on("click", function(){
	location.href = $(this).attr("href");
});

$.get("admin/advertis/get_industry_banner",function (data){
	if(data.success)
	{
		var html = template("bannerFirstTemp",{list: data.data});
		var adTotal = data.data.length;
		$(".full_height").next().attr("adTotal",adTotal)
		$(".full_height").html(html);
	}
	var circle = template("circleTemp",{list: data.data});
	$(".ad_pager ul").html(circle);
	startScroll();
})


</script>
</body>
</html>